package com.ruoyi.user.sms.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@RefreshScope
@Component
@ConfigurationProperties(prefix = "guoyang.sms")
public class GuoyangSmsProperties {

    private String appcode;
    private String host;
    private String path;
    private String smsSignId;
    private String templateId;

    public String getAppcode() { return appcode; }
    public void setAppcode(String appcode) { this.appcode = appcode; }

    public String getHost() { return host; }
    public void setHost(String host) { this.host = host; }

    public String getPath() { return path; }
    public void setPath(String path) { this.path = path; }

    public String getSmsSignId() { return smsSignId; }
    public void setSmsSignId(String smsSignId) { this.smsSignId = smsSignId; }

    public String getTemplateId() { return templateId; }
    public void setTemplateId(String templateId) { this.templateId = templateId; }
}


